<%@page pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp"%>
      <h:hiddendata property="criteria" />
      <h:hidden property="page/begin"/>
      <h:hidden property="page/length"/>
      <h:hidden property="page/isCount"/>
      <h:hidden property="weordertasks/iorderid" />
      <dataform id= "7c7f302f-0035-4542-b937-9e99e206f713">

          <table align="center" border="0" width="100%" class="form_table">
            <tr>
              <td class="form_label">
                订单编号
              </td>
              <td colspan="5">
                <b:write property="weordertasks/corderno"/>                                           
                <l:equal property="weordertasks/cstatus" targetValue="O">
                   (已结)
                </l:equal>  
                <l:notEmpty property="weordertasks/cstatus">      
                <l:notEqual property="weordertasks/cstatus" targetValue="O">
                   未结
                </l:notEqual> 
                </l:notEmpty>                                                                                  
                
              </td>
            </tr>
            <tr>
              <td class="form_label">
                来源名称
              </td>
              <td colspan="5">
                <h:text property="weordertasks/csourcename"  style="width:100%" validateAttr="allowNull=false"/>
              </td>
            </tr>
            <tr>
              <td class="form_label">
                来源说明
              </td>
              <td colspan="5">
                <h:textarea property="weordertasks/csoucedescription" style="width:100%" validateAttr="allowNull=false"/>
              </td>
            </tr>
            <tr>
              <td class="form_label">
                创建日期
              </td>
              <td colspan="1">
                <w:date property="weordertasks/dcreated" format="yyyy-MM-dd HH:mm:ss" style="width:200px;" readOnly="true" />
              </td>
              
              <td class="form_label">
                创建营业日期
              </td>
              <td colspan="1">
                <w:date property="weordertasks/dcreatedbusinessdate"  style="width:200px;" readOnly="true" id="cbd"/>
              </td>
              
              <td class="form_label">
                创建人
              </td>
              <td colspan="1">
                <h:text property="weordertasks/createdName" name="createdNam" style="width:200px;"  readonly="true"/>
              </td>                        
            </tr>
            
            <tr>
              <td class="form_label">
                结账日期
              </td>
              <td colspan="1">
                <w:date property="weordertasks/dcheckouted" format="yyyy-MM-dd HH:mm:ss" style="width:200px;"  name="cc"   readOnly="true"/>
              </td>
              <td class="form_label">
                结账营业日期
              </td>
              <td colspan="1">
                <w:date property="weordertasks/dcheckoutbusinessdate" name="aa" style="width:200px;" readOnly="true"/>
              </td>
              <td class="form_label">
                结账人
              </td>
              <td colspan="3">
                <h:text property="weordertasks/checkoutName"  name="bb"  style="width:200px;" readonly="true"/>
              </td>              
            </tr>
            <tr class="form_bottom">
              <td colspan="6">
      <l:equal property="_eosLastAccessAction" targetValue="insert">
        <input type="submit" value="保存" class="button">
      </l:equal>
          
                
                <input type="button" value="返回" onclick="javascript:history.go(-1);" class="button">
              </td>
            </tr>
          </table>
      </dataform>